package com.lyfam.vaadin.service;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

import com.lyfam.vaadin.model.Deal;

@WebService
public interface DealRegistrationRepository
{
    @WebMethod
    void saveDeal(@WebParam(name="deal") Deal deal) throws Exception;
    List<Deal> listDeals() throws Exception;
    Deal getDealById(String dealId) throws Exception;
    void deleteDeal(String dealId) throws Exception;
}
